<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
</head>
<body>
<div th:fragment="searchBlock" >

    <div class="module-block">
        <div class="row-fluid" id="formSearch1">
            <div class="span6" >
                <div class="form-inline padding15" role="form">
                    <div class="form-group">
                        <label class="form-label">小区名称</label>
                        <select th:field="*{estateGuid}"  class="form-control searchCondition select2 select-1">
                            <option th:each="estate:${formBean.estateList}"
                                    th:value="${estate.guid}"
                                    th:text="${estate.estateName}"
                                    th:selected="${estate.guid} == ${formBean.estateGuid}? 'selected' : '#'"></option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label class="form-label">房间名称</label>
                        <input type="text"  th:field="*{hourceName}"  class="form-control searchCondition" placeholder="模糊查询" />
                    </div>

                    <div class="form-group">
                        <label class="form-label">支付方式</label>
                        <select th:field="*{payType}"  class="form-control searchCondition select2 select-2">
                            <option th:each="codeName:${formBean.payTypeList}"
                                    th:value="${codeName.code}"
                                    th:text="${codeName.codeName}"
                                    th:selected="${codeName.guid} == ${formBean.payType}? 'selected' : '#'"></option>
                        </select>
                    </div>

                    <div class="form-group">
                        <label class="form-label">支付状态</label>
                        <select th:field="*{payStatus}"  class="form-control searchCondition select2 select-3">
                            <option th:each="codeName:${formBean.payStatusList}"
                                    th:value="${codeName.code}"
                                    th:text="${codeName.codeName}"
                                    th:selected="${codeName.guid} == ${formBean.payStatus}? 'selected' : '#'"></option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label class="form-label">业务类型</label>
                        <select th:field="*{businessType}"  class="form-control searchCondition select2 select-4">
                            <option th:each="codeName:${formBean.businessTypeList}"
                                    th:value="${codeName.code}"
                                    th:text="${codeName.codeName}"
                                    th:selected="${codeName.guid} == ${formBean.businessType}? 'selected' : '#'"></option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label class="form-label">支付流水号</label>
                        <input type="text"  th:field="*{trxid}"  class="form-control searchCondition" placeholder="模糊查询" />
                    </div>
                    <div class="form-group">
                        <label class="form-label">支付开始时间</label>
                        <input type="text" th:field="*{payStartTime}"  class="form-control searchCondition selectDate selectDateYymmdd" />

                    </div>
                    <div class="form-group">
                        <label class="form-label">支付结束时间</label>
                        <input type="text"  th:field="*{payEndTime}"  class="form-control searchCondition selectDate selectDateYymmdd" />
                    </div>
                    <div class="form-group">
                        <label class="form-label">是否退款：</label>
                        <input type="radio" th:field="*{isRefund}"  value="0" />无退款
                        <input type="radio" th:field="*{isRefund}"  value="1" />有退款
                    </div>
                </div>
            </div>
        </div>

        <div class="row-fluid">
            <div class="span5" id="table-btnGrounb">
                <button class="table-btn" id="searchbutton" type="submit">查找</button>
            </div>
        </div>
    </div>
</div>

</body>
</html>